/* Includes ----------------------------------------------------------------- */
#include "../algorithm/filter.h"
#include "../algorithm/integration.h"
#include "../device/communicate.h"
#include "../device/hc05.h"

/* Exported constants ------------------------------------------------------- */
/* Exported macro ----------------------------------------------------------- */
/* Exported types ----------------------------------------------------------- */

/* Exported functions prototypes -------------------------------------------- */
void Motor_Init(void);

void Motor_Control(Motor_t motor[], RawICM_t raw_f, Euler_t angel,
                   const Cmd_t cmd, Interact_Coordinate_t coordinate,
                   uint32_t tick);
void Control_TaskChangeReset(Cmd_t *cmd, Interact_Coordinate_t *camera,
                             HC05_Car_t *car1);
void Control_ChooseTask(Cmd_t *cmd, Interact_Coordinate_t camera);
void Control_ExpectSpeed(Cmd_t *cmd, Interact_Coordinate_t camera);
void Control_IsLoadGoods(Cmd_t *cmd);
#ifdef __cplusplus
}
#endif
